import request from '@/utils/request'
export const getGoHomeListApi = (params) => request({
  url: '/houses',
  params
})

// 区域
export const getCtiyApi = (params) => request({
  url: '/area/city',
  params
})

// 热门城市
export const getCtiyHotApi = (params) => request({
  url: '/area/hot',
  params
})

// 当前城市信息
export const getCtiyInfoApi = (params) => request({
  url: '/area/info',
  params
})

// 当前房源数据
export const getCtiyMapApi = (params) => request({
  url: '/area/map',
  params
})

// 小区关键词
export const getCommunityApi = (params) => request({
  url: '/area/community',
  params
})
// 房屋图片上传
export const getImageApi = (params) => request({
  url: '/houses/image',
  method: 'post',
  params
})
// 发布房屋
export const getFaBuApi = (params) => request({
  url: '/user/houses',
  method: 'post',
  params
})
